package com.example.designpatterns.state;

/**
 * 抽象状态角色（IState）
 */
public abstract class IState {
    public Context context;

    public void setContext(Context context) {
        this.context = context;
    }

    public abstract void handle();
}


